package com.clh.seckill.mapper;

import com.clh.seckill.pojo.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clh.seckill.vo.GoodsVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author clh
 * @since 2021-11-12
 */
@Repository
public interface GoodsMapper extends BaseMapper<Goods> {
     List<GoodsVo> findGoodsVo();

    GoodsVo findGoodsById(Long goodsId);
}
